package com.leo.base.db.annotation;

import java.lang.annotation.*;

/**
 * 读写分离
 * @author wangss
 */
@Target({ElementType.METHOD, ElementType.TYPE, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ReadWriteSeparDataSource {

    /**
     * 表名称
     *
     * @return
     */
    String tableName();
}
